﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <form method="post">
            <p>邮箱1:<input type="text" name="Eamils" />昵称:<input type="text" name="NickName" /></p>
            <p>邮箱1:<input type="text" name="Eamils" />昵称:<input type="text" name="NickName" /></p>
            <p>邮箱1:<input type="text" name="Eamils" />昵称:<input type="text" name="NickName" /></p>
            <p><input type="submit" value="提交" /></p>
        </form>
        @if (ViewBag.Eamils != null)
        {
            var email = ViewBag.Eamils as IList<string>;
            <h1>邮箱:</h1>
            foreach (var item in email)
            {
                @item
            }
        }
    </div>
</body>
</html>
